import request from '@/utils/request'

//发送消息
export function IMSend(data) {
  return request({
    url: '/rest/message',
    method: 'post',
    data
  })
}

//获取消息
export function IMGetMessage(params) {
  return request({
    url: '/rest/messageList',
    method: 'get',
    params:params
  })
}
